Suitable for ARMv5+. PerfCount is a module to provide easy acces to the performance counters that are present on most/all ARMv5+ CPUs.